package edu.study.ops.req;

import edu.study.api.common.dto.BaseReqDto;
import edu.study.ops.dto.FileInfoDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.Valid;
import java.util.List;

@Getter
@Setter
@ApiModel(value="批量下载文件ReqDto")
public class DownloadBatchFilesReq extends BaseReqDto {

    /**
	 * 
	 */
	private static final long serialVersionUID = -638668611566663009L;

	/**
     * 模板文件列表
     *
     * */
    @Valid
    @NotEmpty
    @ApiModelProperty(value = "下载文件信息")
    private List<FileInfoDto> fileInfoList;

    @ApiModelProperty(value = "是否需要压缩")
    private boolean needCompress=false;
}
